<template>
  <div class="box">
    <div>div1</div>
    <div>div1</div>
  </div>
</template>

<script setup>

</script>

<style  scoped>


.box div{
  height: 400px;
}
.box :first-child{
  background-color:aqua;
}
.box :last-child{
  background-color:red;
}
</style>